package helper.chart

import helper.base.TimeHelper.aTimePatternString4
import helper.base.TimeHelper.getNowTimeString
import helper.chart.PoissonChartHelperKt.PoissonChartHelper.taskPoissonDistributionChart
import org.junit.Test
import res.FileRes.out_chart_file

internal class PoissonChartHelperKtTest {
    @Test
    fun taskPoissonDistributionChart() {
        val nowTimeStr = getNowTimeString(aTimePatternString4)
        (1..10).map {
            taskPoissonDistributionChart(
                it.toDouble(),
                30,
                "$out_chart_file" + "/taskPoissonDistributionChart" + "/t_${nowTimeStr}" + "/chart${it}.png"
            )
        }
    }
}